package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Shoppingtable;

/**
 * 顾客购物车Mapper接口
 * 
 * @author 格格本奈
 * @date 2024-03-19
 */
public interface ShoppingtableMapper 
{
    /**
     * 查询顾客购物车
     * 
     * @param uid 顾客购物车主键
     * @return 顾客购物车
     */
    public Shoppingtable selectShoppingtableByUid(Long uid);

    /**
     * 查询顾客购物车列表
     * 
     * @param shoppingtable 顾客购物车
     * @return 顾客购物车集合
     */
    public List<Shoppingtable> selectShoppingtableList(Shoppingtable shoppingtable);

    /**
     * 新增顾客购物车
     * 
     * @param shoppingtable 顾客购物车
     * @return 结果
     */
    public int insertShoppingtable(Shoppingtable shoppingtable);

    /**
     * 修改顾客购物车
     * 
     * @param shoppingtable 顾客购物车
     * @return 结果
     */
    public int updateShoppingtable(Shoppingtable shoppingtable);

    /**
     * 删除顾客购物车
     * 
     * @param uid 顾客购物车主键
     * @return 结果
     */
    public int deleteShoppingtableByUid(Long uid);

    /**
     * 批量删除顾客购物车
     * 
     * @param uids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShoppingtableByUids(Long[] uids);
}
